package com.example.lab.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@ToString
public class LabVo {
    private Integer lid;
    //实验室房间
    private Integer lroom;
    //使用者
    private String luser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //预约开始时间
    private Date lstarttime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //预约结束时间
    private Date lendtime;
    //实验室设备
    private Integer ldevice;
    private String devicename;
    private Integer droom;
    private Integer rname;

}
